<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\LoginLog as LoginLogModel;

class LoginLog extends Base
{
    public function index()
    {
        $count        = LoginLogModel::count();
        $loginLogList = LoginLogModel::orderBy('id', 'desc')->paginate(15);

        return view('admin.login_log.index', [
            'count'        => $count,
            'loginLogList' => $loginLogList,
        ]);
    }
}
